extends layout

block title
    title mkfree博客 — 列表页

block content
    div(class="list")
        div(class="container blog-list")
            div(class="row")
                each item in pageResult.data
                    div(class="col-lg-6 col-md-6 col-sm-6 col-xs-12")
                        div(class="thumbnail item")
                            //img(data-src="holder.js/300x300" alt="...")
                            div(class="caption")
                                h3(class="item-title") #{item.title}
                                p(class="item-p") #{item.summary}
                                p <a href="/posts/#{item.old_id ? item.old_id : item.id}" class="btn btn-primary" role="button">详情</a>
                <nav>
                <ul class="pager">
                <li><a href="#{pageResult.prevUrl}">上一页</a></li>
                <li><a href="#{pageResult.nextUrl}">下一页</a></li>
                </ul>
                </nav>